package com.inforich.tourist.service.impl;

import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.inforich.tourist.mapper.CarouselMapper;
import com.inforich.tourist.domain.Carousel;
import com.inforich.tourist.service.ICarouselService;

/**
 * carouselService业务层处理
 *
 * @author hjm
 * @date 2022-10-21
 */
@Service
public class CarouselServiceImpl extends ServiceImpl<CarouselMapper, Carousel> implements
    ICarouselService {

  @Override
  public Page<Carousel> pageCarousel(Page<Carousel> page, Map<String, Object> map) {
    return baseMapper.pageCarousel(page, map);
  }

  @Override
  public List<Carousel> listCarousel(Map<String, Object> map) {
    return baseMapper.listCarousel(map);
  }


}
